package com.back.campus_back.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrdersVo对象", description="用于查询订单的结果")
public class OrdersVo extends Orders{

    @ApiModelProperty(value = "商品编号")
    private Integer id;

    @ApiModelProperty(value = "商品名")
    private String name;



    @ApiModelProperty(value = "售卖价格")
    private Float sellPrice;

    @ApiModelProperty(value = "商品标题")
    private String productTitle;


    @ApiModelProperty(value = "商品图")
    private String photo;


    @ApiModelProperty(value = "买家用户名")
    private String username;


}
